package com.ler.yrmall.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ler.yrmall.basic.Form;
import com.ler.yrmall.order.entity.OrderReturnApplyEntity;
import com.ler.yrmall.order.form.ReturnApplyForm;

/**
 * @author leron
 */
public interface OrderReturnApplyService extends IService<OrderReturnApplyEntity> {

    /**
     * 分页
     * @param request
     * @return
     */
    IPage<OrderReturnApplyEntity> find(Form request);

    /**
     * 申请退款
     * @param request
     */
    void apply(ReturnApplyForm request);

    /**
     * 审核通过
     * @param refundId
     */
    void pass(Long refundId);

}

